<?php defined('IN_YuLin') || exit('NO PERMIT!'); ?>
{template index/lottery_log_header_credit}

	<div class="result game-{$data['ptid']}">
		<div class="link_tab">
			<a data-bind="click:tabnav.bind($data,'Tema-tpl','a'),css:'btn '+(css()=='a'?'btn-blue':'')" href="#">排名</a>
			<a data-bind="click:tabnav.bind($data,'Longhu-tpl','b'),css:'btn '+(css()=='b'?'btn-blue':'')" href="#">大小单双龙虎</a>
		</div>
		<div class="result_in shadow" data-bind="template:{name:tpl,data:listItem}"></div>
		<input type="hidden" id="pageIndex" value="1" />
	</div>
	
	<script type="text/html" id="Tema-tpl">
		<table class="table-list" border="1" cellspacing="0" cellpadding="0" width="100%">
			<thead>
				<tr class="bs_table_bt1">
					<th rowspan="2">期数<i class="fl_bd"></i><i class="fr_bd"></i><i class="fb_bd"></i></th>
					<th rowspan="2">开奖时间<i class="fl_bd"></i><i class="fr_bd"></i><i class="fb_bd"></i></th>
					<th colspan="10">彩球号码<i class="fl_bd"></i><i class="fr_bd"></i><i class="fb_bd"></i></th>
					<th rowspan="2">冠亚和值<i class="fl_bd"></i><i class="fr_bd"></i><i class="fb_bd"></i></th>
					<th rowspan="2">冠亚和值单双<i class="fl_bd"></i><i class="fr_bd"></i><i class="fb_bd"></i></th>
					<th rowspan="2">冠亚和值大小<i class="fl_bd"></i><i class="fr_bd"></i><i class="fb_bd"></i></th>
				</tr>
				<tr class="bs_table_bt1">
					<th>冠&nbsp &nbsp军<i class="fl_bd"></i><i class="fr_bd"></i><i class="ft_bd"></i></th>
					<th>亚&nbsp &nbsp军<i class="fl_bd"></i><i class="fr_bd"></i><i class="ft_bd"></i></th>
					<th>第三名<i class="fl_bd"></i><i class="fr_bd"></i><i class="ft_bd"></i></th>
					<th>第四名<i class="fl_bd"></i><i class="fr_bd"></i><i class="ft_bd"></i></th>
					<th>第五名<i class="fl_bd"></i><i class="fr_bd"></i><i class="ft_bd"></i></th>
					<th>第六名<i class="fl_bd"></i><i class="fr_bd"></i><i class="ft_bd"></i></th>
					<th>第七名<i class="fl_bd"></i><i class="fr_bd"></i><i class="ft_bd"></i></th>
					<th>第八名<i class="fl_bd"></i><i class="fr_bd"></i><i class="ft_bd"></i></th>
					<th>第九名<i class="fl_bd"></i><i class="fr_bd"></i><i class="ft_bd"></i></th>
					<th>第十名<i class="fl_bd"></i><i class="fr_bd"></i><i class="ft_bd"></i></th>
				</tr>
			</thead>
			<tbody data-bind="foreach:$data">
				<tr>
					<td data-bind="text:period"></td>
					<td data-bind="text:date"></td>
					<!-- ko foreach:balls -->
					<td><span data-bind="text:$data,css:'b_15_'+$data"></span></td>
					<!-- /ko -->
					<td data-bind="text:combFirstSecond"></td>
					<td data-bind="html:combFirstSecondOddEven"></td>
					<td data-bind="html:combFirstSecondBigSmall"></td>
				</tr>
			</tbody>
		</table>
	</script>

	<script type="text/html" id="Longhu-tpl">
		<table class="table-list" border="1" cellspacing="0" cellpadding="0" width="100%">
			<thead>
				<tr>
					<th rowspan="2">期数</th>
					<th rowspan="2">开奖时间</th>
					<th colspan="4">冠军</th>
					<th colspan="4">亚军</th>
					<th colspan="4">第三名</th>
					<th colspan="4">第四名</th>
					<th colspan="4">第五名</th>
					<th colspan="3">第六名</th>
					<th colspan="3">第七名</th>
					<th colspan="3">第八名</th>
					<th colspan="3">第九名</th>
					<th colspan="3">第十名</th>
				</tr>
				<tr>
						<td>车号</td>
						<td>大小</td>
						<td>单双</td>
							<td>龙虎</td>
						<td>车号</td>
						<td>大小</td>
						<td>单双</td>
							<td>龙虎</td>
						<td>车号</td>
						<td>大小</td>
						<td>单双</td>
							<td>龙虎</td>
						<td>车号</td>
						<td>大小</td>
						<td>单双</td>
							<td>龙虎</td>
						<td>车号</td>
						<td>大小</td>
						<td>单双</td>
							<td>龙虎</td>
						<td>车号</td>
						<td>大小</td>
						<td>单双</td>
						<td>车号</td>
						<td>大小</td>
						<td>单双</td>
						<td>车号</td>
						<td>大小</td>
						<td>单双</td>
						<td>车号</td>
						<td>大小</td>
						<td>单双</td>
						<td>车号</td>
						<td>大小</td>
						<td>单双</td>
				</tr>
			</thead>
			<tbody data-bind="foreach:$data">
				<tr>
					<td data-bind="text:period"></td>
					<td data-bind="text:date"></td>
					<!-- ko foreach:balls -->
					<td><span data-bind="text:$data"></span></td>
					<td data-bind="html:$parent.oneBigSmall($data)"></td>
					<td data-bind="html:$parent.oneOddEven($data)"></td>
					<!-- ko if:$index()<5 -->
					<td data-bind="html:$parent.pk($index())"></td>
					<!-- /ko -->
					<!-- /ko -->
				</tr>
			</tbody>
		</table>
	</script>
	
{template index/lottery_log_footer_credit}